<template>
  <div class="step-container">
    <img src="@/assets/img/applyOnline/finish.png" alt="" />
    <div class="green">
      您的申请已提交成功，我们将对您的申请事项进行受理，并于5个工作日内给予相应答复！
    </div>
    <div class="text1">{{ title }}</div>
    <template v-if="$route.path != '/dockCompanyApplyStep'">
      <div class="text2">
        您也可以到<span class="blue" @click="$router.push('/companyInProcess')"
          >办理中事项</span
        >跟踪办理情况
      </div>
      <el-button
        type="primary"
        class="apply"
        @click="$router.push('/companyNeedApply')"
        >继续申请</el-button
      >
    </template>
  </div>
</template>

<script>
import apply from '@/assets/js/apply';
export default {
  props: {
    bussType: {
      type: String || Number,
    },
  },
  data() {
    return {};
  },
  computed: {
    // 根据bussType获取对应的申请事项名称
    title() {
      return apply.applyName[this.bussType];
    },
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
.step-container {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  .green {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #31a358;
  }
  .text1 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
  }
  .text2 {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    .blue {
      color: #3c8cf1;
      cursor: pointer;
    }
  }
  .apply {
    margin-top: 40px;
  }
}
</style>
